package zhongbo.java.air.flightpath.service;


import zhongbo.java.air.common.exception.MyException;
import zhongbo.java.air.common.vo.PageVo;
import zhongbo.java.air.flightpath.entity.AirFlightPath;

import java.util.Date;

public interface AirFlightPathService {

    AirFlightPath addAirFlightPath(AirFlightPath airFlightPath)throws MyException;
    void deleteAirFlightPath(String icaoCode)throws MyException;
    AirFlightPath updatePath(AirFlightPath airFlightPath)throws MyException;
    Integer updateAirFlightPath(AirFlightPath airFlightPath)throws MyException;

    AirFlightPath selectAirFlightPath(AirFlightPath airFlightPath)throws MyException;
    AirFlightPath SelectByIcaoCode(String icaoCode)throws MyException;
    PageVo<AirFlightPath> page(Integer pageNumber, Integer pageSize, boolean order, String searchField, String keyword, String sortField);

    PageVo<AirFlightPath> pageByIcaoCode(Integer pageNumber, Integer pageSize, String icaoCode, String startTime, String endTime,String oderByField,boolean orderByAsc)throws MyException;
}
